package com.buka.api;

import com.buka.request.NewUserCouponRequest;
import com.buka.util.JsonData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;

@Service
@FeignClient("coupon-service")
public interface CouponApi {


    @PostMapping("/api/coupon/v1/new_user_coupon")
    public JsonData newUserCoupon(NewUserCouponRequest user);

}
